package com.cykj.v_m_sprintboot.service;

import com.cykj.v_m_sprintboot.bean.TbInput;
import com.cykj.v_m_sprintboot.bean.TbOut;
import com.cykj.v_m_sprintboot.bean.TbWarehouseListInf;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface TbInputService {
    List<TbInput> getSupplier(int supplierStateId);
    String getGoodsType(int supplierId);
    List<TbInput> getGoodsName(String goodsListType);
    List<TbInput> getWarehouseName(int warehouseStateId);
    boolean addInputData(TbInput tbInput);
    boolean addGoods(TbInput tbInput);
    TbInput selectAddGoodsId (TbInput tbInput);
    boolean updateWarehouseNumState(int warehouseId,int warehouseNum);
    int selectWarehouse(int warehouseId);
    String getGoodsTypeByGoodsListId(int goodsListId);
    List<TbInput>getWarehousing(TbInput tbInput,RowBounds row );
    boolean updateWarehouseModifyTime(int warehouseId, String modifyTime);
    int warehousingCount(TbInput tbInput);
    boolean delInput(int inputId,int stateListId);
    TbWarehouseListInf selectGoodsInf(TbInput tbInput);
    boolean addTbWarehouseListInf(TbInput tbInput);
    double countTbWarehouseListInf(TbInput tbInput);
    boolean updateTbWarehouseListInfNum (TbInput tbInput);

}
